github.com/gotd/td/telegram/downloader.Scheduler.window (field)
10 uses
github.com/gotd/td/telegram/downloader (current package)
scheduler.go#L73: window int
scheduler.go#L91: window: opts.Start,
scheduler.go#L101: Window: s.window,
scheduler.go#L116: for s.inFlight >= s.window {
scheduler.go#L146: if s.successes >= s.window && s.window < s.opts.Max {
scheduler.go#L147: s.window++
scheduler.go#L186: s.window /= 2
scheduler.go#L187: if s.window < s.opts.Min {
scheduler.go#L188: s.window = s.opts.Min
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |